import{post,fileUpload}from '@/utils/request'

// 获取风险因子列表
export const factorQuery=(params={})=>{
    return post('/dz-risk/riskFactor/query',params) 
  }

// 风险因子增加
export const factorAdd=(params={})=>{
  return post('/dz-risk/riskFactor/add',params) 
}

// 风险因子删除
export const factorDelete=(params={})=>{
    return post('/dz-risk/riskFactor/delete',params) 
  }

// 风险因子导入
export const factorReadExcel=(params={})=>{
    return fileUpload('/dz-risk/riskFactor/readExcel',params) 
  }

//风险因子更改
export const factorUpdate=(params={})=>{
    return post('/dz-risk/riskFactor/updateRiskContent',params) 
  }
